import {MessageBox} from 'element-ui'

export function confirm(mainInfo, title) {
  return MessageBox.confirm(mainInfo, title, {
    confirmButtonText: '确定',
    cancelButtonText: '取消',
    type: 'warning'
  })
}
